<?php require_once("../includes/initializeSession.php"); ?>
<?php require_once("../includes/secure.php"); ?>
<?php


    
require("personClass.php"); 
$person = new person();
	#----- call the appropriate function ------#
if( isset($_POST ['oper']) )
{
if($_POST ['oper']=="view")
$person->viewPersons();
else if($_POST ['oper']=="edit")
$person->editPerson();
else if($_POST ['oper']=="add")
$person->addPerson();
else if($_POST ['oper']=="del")
$person->deletePerson();
else if($_POST ['oper']=="personExsit")
$person->personExsit();

}
	#----- call the appropriate  function ------#


?>